package com.own.business.exam.business.service.impl;

import com.baomidou.mybatisplus.core.toolkit.support.SFunction;
import com.own.business.exam.business.service.ExamCustomerRankService;
import com.own.business.exam.entity.bo.ExamCustomerRankBo;
import com.own.business.exam.entity.map.ExamCustomerRankMapVo;
import com.own.business.exam.entity.po.ExamCustomerRank;
import com.own.business.exam.entity.query.ExamCustomerRankQuery;
import com.own.business.exam.entity.vo.ExamCustomerRankVo;
import com.own.business.exam.mapper.ExamCustomerRankMapper;
import com.own.component.common.base.service.impl.AbstractBaseBindOneService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * ExamCustomerRankServiceImpl
 *
 * @author chenxueli
 * @date 2021/05/18 14:43:47
 */
@Slf4j
@Service
public class ExamCustomerRankServiceImpl extends AbstractBaseBindOneService<
        ExamCustomerRank,
        ExamCustomerRankBo,
        ExamCustomerRankVo,
        ExamCustomerRankMapVo,
        ExamCustomerRankQuery,
        ExamCustomerRankMapper
        > implements ExamCustomerRankService {

    /**
     * 获取fk的属性
     *
     * @return fk的属性
     */
    @Override
    public SFunction<ExamCustomerRank, Long> getFkExtractor() {
        return ExamCustomerRank::getFkExamId;
    }

}
